/*
package itHsuSE.demo2;

public class ConstructorExer {
    public static void main(String[] args) {
        Person p1=new Person();
        Person p2=new Person("tom",20);
        System.out.println(p1.name+p1.age);
        System.out.println(p2.name+p2.age);
    }
}

class Person{
    public int age;
    public String name;

    public Person(){
        this.age=18;
    }
    public Person(String name,int age){
        this.name=name;
        this.age=age;
    }
}
*/
